package com.mutual.reins.interf.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDate;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author CodeGenerate
 * @since 2021-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("FEOENQUIRY")
public class FeoEnquiry implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("ENQUIRYNO")
    private String enquiryNo;

    @TableField("PROPOSALNO")
    private String proposalNo;

    @TableField("DANGERNO")
    private Integer dangerNo = 0;

    @TableField("CONNECTIONNO")
    private String connectionNo;

    @TableField("POLICYNO")
    private String policyNo;

    @TableField("ENDORSENO")
    private String endorseNo;

    @TableField("CLASSCODE")
    private String classCode;

    @TableField("RISKCODE")
    private String riskCode;

    @TableField("REINSURED")
    private String reinsured;

    @TableField("INSUREDNAME")
    private String insuredName;

    @TableField("INSUREDADDRESS")
    private String insuredAddress;

    @TableField("STARTDATE")
    private LocalDate startDate;

    @TableField("ENDDATE")
    private LocalDate endDate;

    @TableField("CURRENCY")
    private String currency;

    @TableField("SUMAMOUNT")
    private BigDecimal sumAmount = new BigDecimal("0.00");

    @TableField("RATE")
    private BigDecimal rate = new BigDecimal("0.000000");

    @TableField("SUMPREMIUM")
    private BigDecimal sumPremium = new BigDecimal("0.00");

    @TableField("BASESHARE")
    private BigDecimal baseShare = new BigDecimal("0.00");

    @TableField("REMARKS")
    private String reMarks;

    @TableField("CREATEDATE")
    private LocalDate createDate;

    @TableField("VERIFYFLAG")
    private String verifyFlag;

    @TableField("VERIFIERCODE")
    private String verifierCode;

    @TableField("VERIFYDATE")
    private LocalDateTime verifyDate;

    @TableField("REINSHANDLETEXT")
    private String reinsHandleText;

    @TableField("MODIFIERCODE")
    private String modifierCode;

    @TableField("MODIFYDATE")
    private LocalDate modifyDate;

    @TableField("SPECIALFACFLAG")
    private String specialFacFlag;

    @TableField("SPECIALFACSHARE")
    private BigDecimal specialFacShare = new BigDecimal("0.00");

    @TableField("FACFLAG")
    private String facFlag;

    @TableField("FACSHARE")
    private BigDecimal facShare = new BigDecimal("0.00");

    @TableField("FLAG")
    private String flag;

    @TableField("OPERATORCODE")
    private String operatorCode;

    @TableField("ENQUIRYTYPE")
    private String enquiryType;

    /**
     * 批量临分标志 0 否 1 是
     */
    @TableField("BATCHFACFLAG")
    private String batchFacFlag;

    /**
     * 临分调整次数
     */
    @TableField("XFACADJUSTED")
    private Integer xFacAdjusted = 0;

    /**
     * 是否自动生成账单 0 否 1  是
     */
    @TableField("GENACCFLAG")
    private String genAccFlag;


}
